const BASE_URL = 'https://api-hmugo-web.itheima.net/api/public/v1'

export const homeURL = {
  swiperImage: BASE_URL + '/home/swiperdata',
  homeNav: BASE_URL + '/home/catitems',
  homeFloor: BASE_URL + '/home/floordata'
}

export const categoryURL = {
  categoryList: BASE_URL + '/categories'
}

export const goodsURL = {
  goodsList: BASE_URL + '/goods/search',
  goodsDetail: BASE_URL + '/goods/detail',
  goodsSearch: BASE_URL + '/goods/qsearch'
}

export const userURL = {
  userInfo: BASE_URL + '/users/wxlogin'
}

export const orderURL = {
  createOrder: BASE_URL + '/my/orders/create',
  queryOrder: BASE_URL + '/my/orders/chkOrder',
  allOrder: BASE_URL + '/my/orders/all'

}

export const payURL = {
  payInfo: BASE_URL + '/my/orders/req_unifiedorder'
}